package com.content.scaffold.common.delegate;

import lombok.extern.slf4j.Slf4j;
import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.JavaDelegate;



/**
 * @author xiaojl
 */
@Slf4j
public class ReviewApprove implements JavaDelegate {



    @Override
    public void execute(DelegateExecution delegateExecution) {
        //可以发送消息给某人
        log.info("通过，userId是：{}", delegateExecution.getVariable("userId"));
    }
}
